#include <loki/SmallObj.h>

class Small:public  Loki::SmallObject<>//继承SmallObject即可，所有都使用默认策略
{
	public:
		Small(int data):data_(data){}
	private:
		int data_;
};

int main()
{
	for (int i=0; i<100000000; ++i) {
		Small *obj=new Small(8);
		delete obj;
	}
}
